home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / umail005.arc / UMAIL.DOC < prev    next >
Text File  |  1991-03-05  |  4KB  |  130 lines

  1.                       * UMAIL (Unpack inbound echomail) *
  2.                       -----------------------------------
  3.  
  4.                          Version 0.05 / 04. Mar 1991
  5.             CopyRight (c) 1991 by Roland Gautschi, CH-5610 Wohlen
  6.                           Sysop of 2:302/561@fidonet
  7.  
  8.                       * This program is public-domain *
  9.  
  10. Usage:
  11. ------
  12.  
  13. UMAIL D:\INBOUND (drive(!!) and directory where your incoming mail is
  14.                   stored)
  15.  
  16. What it does:
  17. -------------
  18.  
  19. It looks into the given directory and searches the following files:
  20.  
  21.            *.mo?, *.tu?, *.we?, *th?, *.fr?, *.sa? or *.su?
  22.  
  23. if such file(s) was found, it determinates the packing-program used, to create
  24. the archive. Then it unpacks all files's from the archive into the same
  25. directory. (Using the right unpack-program - of course ;-)
  26.  
  27. The following unpack-commands are used:
  28.  
  29. PAK:     e /wa file.ext *.*
  30. PkUnZip: -o file.ext *.*
  31. PkUnPak: -r file.ext *.*
  32. PkXarc:  -r file.ext *.*
  33. ZOO:     -e file.ext *.*
  34. LhArc:   e /cnm file.ext *.*
  35. LHa      e /cnm file.ext *.*
  36. ARJ      e -c -y file.ext *.*
  37.  
  38. The way of determation the packing method is fully compatible as documented
  39. in the manuals of the archive-programs!
  40.  
  41. If an unpack-program reports an error, or if the packing method is unknown,
  42. UMAIL renames the file into BAD_MAIL.xxx where xxx is the next unused
  43. integer (000 .. 999).
  44.  
  45. Why use UMAIL?
  46. --------------
  47.  
  48. - The most important reason is, that UMAIL supports the new LHa(rc) and ARJ.
  49. - Since ELVIS supports only on Packer you you need UMAIL to extract the Mail.
  50.  
  51. Requirements
  52. ------------
  53. - PC-XT / AT
  54. - DOS 3.0 or later (possibly with Share.EXE installed)
  55. - Memory ;-) (MUTIL needs 64KBytes but most unpack-programs requires about
  56.               100K)
  57.  
  58. Errorlevels
  59. -----------
  60.  0 - all packets successfully unpacket or any .PKT's found
  61.  1 - No packets found
  62.  2 - Usage error, error in one or more archives, or unpack-program not found
  63.  
  64. How I use UMAIL on my System:
  65.  
  66. -------------------------------- Import.BAT -----------------------------------
  67. CLS
  68. ECHO ***  I M P O R T  ***
  69. ECHO *********************
  70. cd \fd
  71.  
  72. Umail c:\fd\inbound
  73. if errorlevel 1 goto Import2
  74.  
  75. cd elvis
  76. elvis
  77. cd ..
  78. if exist import.xyz del import.xyz
  79. TOSSCAN TOSS /NOMGR
  80. if not exist import.xyz goto Import2
  81. TsUtil Link
  82.  
  83. :Import2
  84. amgrfix
  85. cd trackm
  86. TrackM
  87. IF ERRORLEVEL 98 Goto AreaRaid
  88. CD \FD
  89. :Import3
  90. Call TPack.bat
  91. TsUtil Import -f
  92. Goto Ende
  93.  
  94. :AreaRaid
  95. IF ERRORLEVEL 99 GOTO AreaMgr
  96. CD \FD
  97. cd raid
  98. raid -RK
  99. Goto Import3
  100. :AreaMgr
  101. CD \FD
  102. Tosscan MGR
  103. Goto Import3
  104.  
  105. :Ende
  106. -------------------------------------------------------------------------------
  107.  
  108. Technical informations:
  109. -----------------------
  110. - UMAIL is written in TurboC++ 1.0 and compiled in the Tiny memory modell.
  111. - It changes to the specified drive/directory to do all the stuff, and
  112.   returns *allways* back to the drive/directory where it's called from.
  113. - It uses DOS 3.0 / share file locking method while reading the archives.
  114. - It uses BIOS calls for screenwrites and runs well in an DesqView
  115.   environement
  116.  
  117. Changes:
  118. --------
  119.  
  120. 0.01 -> 0.02 [06/19/90] If PkUnpak.EXE is not found it tries to find
  121.                         PKXarc.EXE
  122.  
  123. 0.02 -> 0.03 [06/19/90] Errorlevels
  124.  
  125. 0.03 -> 0.04 [07/12/90] UMAIL exits with errorlevel 0 also if no mail was
  126.                         unpacked if one or more *.PKT's where found
  127.  
  128. 0.04 -> 0.05 [03/04/91] UMAIL supports also LHa and ARJ
  129.  
  130.